package days9;

import days9.duck.BaseDuck;
import days9.duck.KeDaDuck;
import days9.duck.TangLaoDuck;
import days9.duck.UglyDuck;

public class Demo1 {
    public static void main(String[] args) {
        TangLaoDuck tangLaoDuck = new TangLaoDuck();
        BaseDuck baseDuck = new BaseDuck();
        UglyDuck uglyDuck = new UglyDuck();
        KeDaDuck keDaDuck = new KeDaDuck();
        tangLaoDuck.swimming();
        baseDuck.swimming();
        uglyDuck.swimming();
        keDaDuck.swimming();
        Object o = new Object();
    }

}